export default [{
  path: '/data-source',
  component: () => import('../views/data-source-manage/YfDataSourceList.vue'),
  meta: { title: '数据源管理', keepAlive: true },
  children: [{
    path: '/data-source/log',
    component: () => import('../views/data-source-manage/YfDataSourceLog.vue'),
    meta: { title: '日志', code: 'log' }
  }, {
    meta: { title: '新增', code: 'add', type: '1', target: '1' }
  }, {
    meta: { title: '编辑', code: 'edit', type: '1', target: '1' }
  }, {
    meta: { title: '删除', code: 'delete', type: '1', target: '1' }
  }, {
    meta: { title: '拉取日志', code: 'pull', type: '1', target: '1' }
  }]
}, {
  path: '/connectorNew',
  component: () => import('../views/connector-manage-new/YfConnectorList.vue'),
  meta: { title: '连接器管理', keepAlive: true }
  // children: [{
  //   meta: { title: '新增', code: 'add' }
  // }, {
  //   path: '/connector/edit',
  //   component: () => import('../views/connector-manage/YfConnectorEdit.vue'),
  //   meta: { title: '编辑', code: 'edit' }
  // }, {
  //   path: '/connector/apiedit',
  //   component: () => import('../views/connector-manage/YfApiEdit.vue'),
  //   meta: { title: '接口编辑', code: 'edit' }
  // }]
}]
